package com.term.appadmin.pojo.view.company;

import com.term.domain.Company;

/**
 * Created by chenGang on 2017/2/10.
 */
public class CompanyQueryElementView {
    private Long id;

    private String name;

    public CompanyQueryElementView() {
    }

    public CompanyQueryElementView(Company company) {
        this.id = company.getId();
        this.name = company.getName();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
